package com.atguigu.springcloud.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;

/**
 * @Author csc
 * @Date 2023/3/18 0018 17:12
 * @Version 1.0
 */
@Component
public class PyamentFallbackService implements PaymentFeignService{
    @Override
    public String paymentInfo_OK(Integer id) {
        return "---------PaymentFeignService paymentInfo_OK fallback";
    }

    @Override
    public String paymentInfo_Timeout(Integer id) {
        return "---------PaymentFeignService paymentInfo_Timeout fallback";
    }

}
